import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/userinfo_bind_phone_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class UserinfoBindPhoneEntity {
	int? move;
	bool? state;
	@JSONField(name: "user_name")
	String? userName;
	@JSONField(name: "user_pwd")
	String? userPwd;
	String? msg;

	UserinfoBindPhoneEntity();

	factory UserinfoBindPhoneEntity.fromJson(Map<String, dynamic> json) => $UserinfoBindPhoneEntityFromJson(json);

	Map<String, dynamic> toJson() => $UserinfoBindPhoneEntityToJson(this);

	UserinfoBindPhoneEntity copyWith({int? move, bool? state, String? userName, String? userPwd, String? msg}) {
		return UserinfoBindPhoneEntity()
			..move= move ?? this.move
			..state= state ?? this.state
			..userName= userName ?? this.userName
			..userPwd= userPwd ?? this.userPwd
			..msg= msg ?? this.msg;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}